package com.mgq.design.bridge.c3;

/**
 * <b>功能：</b>Phone手机类(抽象部分)<br>
 * <b>Copyright mgq</b>
 * <li>版本&nbsp;&nbsp;&nbsp;&nbsp;修改日期&nbsp;&nbsp;&nbsp;&nbsp;部　　门&nbsp;&nbsp;&nbsp;&nbsp;作　者&nbsp;&nbsp;&nbsp;&nbsp;变更内容</li><hr>
 * <li>v1.0&nbsp;&nbsp;&nbsp;&nbsp;20220329&nbsp;&nbsp;营业后台&nbsp;&nbsp;&nbsp;&nbsp;马广奇&nbsp;&nbsp;&nbsp;&nbsp;创建类</li>
 * <br><br>
 *
 * @author 马广奇
 * @version 2022-03-29 10:09
 */
public abstract class Phone {
    //持有手机壳接口(一定要用protected,子类才能访问到)
    protected ShellImplementor shellImplementor;

    public Phone(ShellImplementor shellImplementor) {
        this.shellImplementor = shellImplementor;
    }

    /**
     * <b>功能描述：</b>手机有播放音乐的基本功能<br>
     * <b>修订记录：</b><br>
     * <li>20220329&nbsp;&nbsp;|&nbsp;&nbsp;马广奇&nbsp;&nbsp;|&nbsp;&nbsp;创建方法</li><br><br>
     */

    public abstract void playMusic();
}
